﻿@inherits Blazorise.BaseMemo
@if ( !HasCustomRegistration )
{
    <textarea class="@ClassMapper.Class" style="@StyleMapper.Style" placeholder="@Placeholder" disabled="@IsDisabled" readonly="@IsReadonly" value="@Text" maxlength="@MaxLength" rows="@Rows" @onchange="@HandleOnChange" @oninput="@HandleOnInput" />
    @ChildContent
}
else
{
    @RenderCustomComponent()
}